package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

        import java.math.BigDecimal;
        import java.time.LocalDateTime;

/**
* <p>
* 天猫平台订单
* </p>
*
* @author huangrensen
* @since 2024-05-09
*/
@Schema
@Data
public class TmOrderForm {
    @Schema(description="ID")
    private String id;

    @Schema(description="店铺ID")
    private Integer storeId;

    @Schema(description="子订单编号")
    private String sourcePreformSubNo;

    @Schema(description="主订单编号")
    private String sourcePreformMainNo;

    @Schema(description="标题")
    private String title;

    @Schema(description="价格")
    private BigDecimal price;

    @Schema(description="购买数量")
    private Integer qty;

    @Schema(description="外部系统编号")
    private String systemNo;

    @Schema(description="商品属性")
    private String productInfo;

    @Schema(description="套餐信息")
    private String pack;

    @Schema(description="联系方式备注")
    private String remark;

    @Schema(description="订单状态")
    private String status;

    @Schema(description="商家编码")
    private String sellerCode;

    @Schema(description="支付单号")
    private String payNo;

    @Schema(description="买家应付货款")
    private BigDecimal totalAmount;

    @Schema(description="买家实际支付金额")
    private BigDecimal actTotalAmount;

    @Schema(description="退款状态")
    private String returnStatus;

    @Schema(description="退款金额")
    private String returnAmount;

    @Schema(description="订单创建时间")
    private LocalDateTime orderCreateTime;

    @Schema(description="订单付款时间")
    private LocalDateTime orderPayTime;

    @Schema(description="商品id")
    private String productId;

    @Schema(description="分阶段订单信息")
    private String partInfo;

    @Schema(description="备注标签")
    private String remarkTag;

    @Schema(description="商家备注")
    private String sellerRemark;

    @Schema(description="主订单买家留言")
    private String buyerRemark;

    @Schema(description="发货时间")
    private LocalDateTime sendTime;

    @Schema(description="物流单号")
    private String transportNo;

    @Schema(description="物流公司")
    private String transportCompany;

    @Schema(description="是否赔付")
    private String indemnity;

    @Schema(description="赔付金额")
    private String indemnityAmount;

    @Schema(description="赔付出账时间")
    private String indemnityBillTime;



}
